package net.wanho.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Author：汤小洋
 * Date：2024-01-08 11:26
 * Description：<描述>
 */
@Data
@Component
@ConfigurationProperties(prefix = "shop.jwt")
public class JwtProperties {
    private String secret; // 密钥
    private Integer expire; // 过期时间
}
